package com.example.temp.config;

import io.swagger.v3.oas.models.ExternalDocumentation;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.info.License;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SwaggerConfig {

    @Bean
    public OpenAPI springShopOpenAPI() {
        return new OpenAPI()
                .info(new Info().title("资产管理系统")
                        .description("4148_鱼摆摆")
                        .version("v1")
                        .license(new License().name("gitee仓库地址").
                                url("https://gitee.com/mnnu18/4148--asset-management-system")));
    }

}